/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nationsim.components.nation;

import nationsim.input.UserInput;

/**
 * Driver class full of methods to interface between the nationstate and nation.
 * @author CJ
 */
public class NationStateDriver {
    private NationStateDriver(){}
    public static NationState getNationState(Nation nation){
        NationState result = nation.state.clone();
        return result;
    }

    public static void setNationStateUserInput(Nation nation, UserInput input){
        nation.state.setUserInputTextValues(input.getTextFields());
        nation.state.setUserInputBarValues(input.getBarFields());
    }

}
